{{extend "req_layout.html"}}

{{block sub_menu}}
{{sub_menu(menu_items, 'risk', 'point')}}
{{end}}

{{block content_main}}
{{link "tforms.css"}}
{{use "jqutils"}}

<div class="content">
    <div class="box">
        <h2>风险点详细信息</h2>
        <div class="box-body">
            {{embed view}}
        </div>
        <div style="padding:5px;">
        
        <a class="btn btn-green" href="/riskpoint/{{=object.id}}/edit" target="_blank">编辑风险点信息</a>

        {{if request.user.is_superuser or has_role(request.user,'riskpoint_manager'):}}
        <a class="btn btn-green" href="/riskpoint/delete/{{=object.id}}" target="_blank">删除风险点信息</a>
        {{pass}}
        <a class="btn btn-green" href="/riskpoint/solutions?only_mine=0&riskpoint={{=object.point_id}}" target="_blank">查看关联整改措施信息</a>
        </div>
       
    </div>
</div>
{{end}}
